Inpsyde\PayoneerForWoocommerce\PaymentGateway\Gateway\Factory\Customer\WcOrderBasedCustomerFactory S

Total Complexity 22
Dependencies 16
Dependents 1
Total lines 268
Lines of code 124
Logical lines of code 54
Comment lines 57
Methods 9
Properties 7

Methods 9

Method Rating Maintainability Complexity Lines of code
createBillingAddressFromOrder()
S
53 3 25
createShippingAddressFromOrder()
S
53 3 25
createAddresses()
S
59 3 15
createRegistrationFromOrder()
S
60 3 14
createCustomer()
S
54 2 23
createPhoneArrayFromOrder()
S
68 3 7
getBillingPostcodeOrFallback()
S
78 2 3
getShippingPostcodeOrFallback()
S
78 2 3
__construct()
S
65 1 9